package com.neusoft.elmboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.text.SimpleDateFormat;
import java.util.Date;

@SpringBootApplication
@MapperScan(basePackages = {"com.neusoft.elmboot.mapper"})
public class ElmbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(ElmbootApplication.class, args);
        String dt = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.sss").format(new Date());
        System.out.println("-----饿了么：基于SpringBoot后端项目启动成功！启动时间为："+dt);
    }

}
